package com.star.service;

import com.star.vo.business.BusinessDataVO;
import com.star.vo.DishOverViewVO;
import com.star.vo.OrderOverViewVO;
import com.star.vo.SetmealOverViewVO;
import com.star.vo.admin.OperationalDataVO;

import java.time.LocalDateTime;

public interface WorkspaceService {
    /**
     * 查询系统今日运营数据
     * @param begin
     * @param end
     * @return
     */
    OperationalDataVO getOperationalData(LocalDateTime begin, LocalDateTime end);
    /**
     * 查询商家今日运营数据
     * @return
     */
    BusinessDataVO getBusinessData(LocalDateTime begin, LocalDateTime end, Long businessId);

    /**
     * 查询菜品总览
     * @return
     */
    DishOverViewVO getOverviewDishes(Long businessId);

    /**
     * 查询套餐总览
     * @return
     */
    SetmealOverViewVO getOverviewSetmeals(Long businessId);

    /**
     * 查询订单管理数据
     * @return
     */
    OrderOverViewVO getOverviewOrders(Long businessId);

}
